<?php

namespace com\aristo\ingenieros\view;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of PersonView
 *
 * @author GINA
 */
class PersonView {

    private $id;
    private $nombres;
    private $apellidos;
    private $apellidop;
    private $apellidom;
    private $tipo;
    private $value;

    function __construct() {
        $this->id = NULL;
        $this->nombres = NULL;
        $this->apellidos = NULL;
        $this->apellidop = NULL;
        $this->apellidom = NULL;
        $this->tipo = NULL;
        $this->value = NULL;
    }

    public function getIdpersona() {
        return $this->id;
    }

    public function setIdpersona($idpersona) {
        $this->id = $idpersona;
    }

    public function getNombres() {
        return $this->nombres;
    }

    public function setNombres($nombres) {
        $this->nombres = $nombres;
    }

    public function getApellidop() {
        return $this->apellidop;
    }

    public function setApellidop($apellidop) {
        $this->apellidop = $apellidop;
    }

    public function getApellidom() {
        return $this->apellidom;
    }

    public function setApellidom($apellidom) {
        $this->apellidom = $apellidom;
    }

    public function getTipo() {
        return $this->tipo;
    }

    public function setTipo($tipo) {
        $this->tipo = $tipo;
    }

    public function getApellidos() {
        return $this->apellidos;
    }

    public function setApellidos($apellidos) {
        $this->apellidos = $apellidos;
    }

    public function getValue() {
        return $this->value;
    }

    public function setValue($value) {
        $this->value = $value;
    }

    public function toJSON() {
        return get_object_vars($this);
    }

}